{// 引入标签库 }
<tagLib name="fanwe" />
<include file="Public:header" />
<load href="__TMPL__ThemeFiles/Js/jquery.js" />
<script type="text/javascript" src="__TMPL__ThemeFiles/Js/calendar.php?lang=zh-cn" ></script>
<load href='__TMPL__ThemeFiles/Js/calendar/calendar.css' />
<load href="__TMPL__ThemeFiles/Js/model.js" />
<div id="main" class="main" >
<div class="content">
<div class="title">{$Think.lang.ADD_DATA} [ <a href="{:u($module_name.'/index')}">{$Think.lang.BACK_LIST}</a> ]</div>
<div id="result" class="result none"></div>
<form method='post' id="form" name="form" action="{:u('GoodsBond/insert')}"  enctype="multipart/form-data">
<table cellpadding=0 cellspacing=0 width=100% class="role_table" >
<tr>
	<td class="tRight" width="150">团购商品：</td>
	<td class="tLeft" >
		<if condition="$goods.site_name neq ''">【{$goods.site_name}<if condition="$goods.city neq ''">&nbsp;{$goods.city}</if>】</if>{$goods.name}
		<input type="hidden" value="{$goods_id}" name="goods_id" />
	</td>
</tr>
<tr>
	<td class="tRight" width="150">兑换订单：</td>
	<td class="tLeft" >
		<input type="text" name="order_sn" class="bLeft" />
	</td>
</tr>
<tr>
	<td class="tRight" width="150">兑换用户：</td>
	<td class="tLeft" >
		<select id="userIDs" name="user_id">
			<option value="">请先搜索用户生成选项列表</option>
		</select>
		<input type="text" id="userKey" class="bLeft" style="width:100px;" />&nbsp;
		<input type="button" id="userSearch" value="搜索"  onclick="$.searchUser('#userKey','#userIDs');"/>
	</td>
</tr>
<tr>
	<td class="tRight" width="150">序列号：</td>
	<td class="tLeft" >
		<input type="text" name="sn" class="bLeftRequire" />
	</td>
</tr>
<tr>
	<td class="tRight" width="150">密码：</td>
	<td class="tLeft" >
		<input type="text" name="password" class="bLeft" />&nbsp;可为空
	</td>
</tr>
<tr>
	<td class="tRight">兑换时间：</td>
	<td class="tLeft" >
		<input type="text" name="send_time" id="send_time"  class="bLeft" value="">
		<input type="button" name="btn_send_time" id="btn_send_time" onclick="return showCalendar('send_time', '%Y-%m-%d %H:%M:%S', false, false, 'btn_send_time');" value="{$Think.lang.SELECT}" class="button"/>
	</td>
</tr>
<tr>
	<td>&nbsp;</td>
	<td class="center">
	<input type="submit" value="{$Think.lang.SAVE_DATA}"  class="button small"> <input type="reset" class="button small" onclick="resetEditor()" value="{$Think.lang.RESET_DATA}" ></td>
</tr>
</form>
</table>
</div>
</div>
